package com.gitee.wsl.platform.concurrent

import kotlinx.coroutines.ExperimentalCoroutinesApi
import platform.Foundation.NSThread


@OptIn(ExperimentalCoroutinesApi::class)
internal actual class InternalThreadId(val nThread:NSThread)

internal actual class InternalThread {
    actual companion object {
        actual fun getId(): InternalThreadId = InternalThreadId(NSThread.currentThread())
        actual fun sleepMs(millis: Int) { }
    }
}
